package com.panshi.service.impl;

import com.panshi.mapper.AboutMapper;
import com.panshi.service.AboutService;
import com.panshi.vo.AboutVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AboutServiceImpl implements AboutService {

    @Autowired
    AboutMapper aboutMapper;

    @Override
    public AboutVo findAbout(int id) {
        return aboutMapper.findAbout(id);
    }

    @Override
    public List<AboutVo> findAboutList() {
        return aboutMapper.findAboutList();
    }
}
